<tagLib name="html" />
<include file="../Public2/header" />
{// 加载头部公共文件 }

<SCRIPT LANGUAGE="JavaScript">
<!--
function selectGroup(){
 var result= PopModalWindow('__APP__/Group/select/parentId/0',268,360);
 if(typeof(result) == "undefined") return;
	$('groupName').value=result[0][0];
	$('pid').value=result[0][1];
}
//-->
</SCRIPT>
<!-- 主页面开始 -->
<div id="main" class="main" >
<div class="content">
<div class="title">编辑组 [ <A HREF="__URL__">返回列表</A> ]</div>
<div id="result" class="result none"></div>
<FORM METHOD=POST action="__URL__/update/" id="form1" >
<TABLE cellpadding=3 cellspacing=3 >
<TR>
	<TD class="tRight" >组名：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeft" check='^\S+$'  warning="组名不能为空,且不能含有空格" NAME="name" value="{$vo.name}"></TD>
</TR>
<TR>
	<TD class="tRight" >上级组：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeft"  NAME="groupName" value="{$vo.pid|getGroupName}"><INPUT TYPE="hidden" class="medium bLeft" NAME="pid" value="{$vo.pid}"> <a href="javascript:selectGroup()" ><IMG SRC="../Public2/images/search.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle"></a></TD>
</TR>
<TR>
	<TD class="tRight">组状态：</TD>
	<TD class="tLeft"><SELECT class="small bLeft"  NAME="status">
	<option <equal name="vo.status" value="1" >selected</equal> value="1">启用</option>
	<option <equal name="vo.status" value="0" >selected</equal> value="0">禁用</option>
	</SELECT></TD>
</TR>
<TR>
	<TD class="tRight tTop">描 述：</TD>
	<TD class="tLeft"><TEXTAREA class="large bLeft" NAME="remark"  ROWS="5" COLS="57">{$vo.remark}</TEXTAREA></TD>
</TR>
<TR>
	<TD ></TD>
	<TD class="center"><INPUT TYPE="hidden" name="id" value="{$vo.id}" >
	<INPUT TYPE="submit" value="保 存" class="button">
	<INPUT TYPE="reset" onclick="history.back(-1)" class="button" value="取 消" >
	</TD>
</TR>
</TABLE>
</FORM>
</div>
</div>
<include file="../Public2/footer" />